<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<Wheels.TransitService.TripObject>" %>
<div id="RouteInfo" title="Route Info" class="panel">
    <h2><%= Html.Encode(Model.RouteName) %></h2> <h2>Heading To <%= Html.Encode(Model.TripHeadsign)%></h2>
    <h2><a class="whiteButton" href="javascript:ShowBusRoute('<%=Model.TripID%>', '<%=Model.CurrentStopID %>')">Map Route</a></h2>
    <h2><a class="whiteButton" href="javascript:addToFavorite('<%=Model.CurrentStopID%>', '<%= Model.RouteName%>', '<%= Model.DirectionID%>', 'bus');">Add Route to My Trip List</a></h2>
    <fieldset>
    <%
        foreach (var time in Model.Times)
        {
            
         %>
    
        <div class="row">
           <span style="font-size:14px;font-weight:bold"><%=time.StopName %> </span>
           <span style="padding-left:8px;font-size:11px;"><%=time.ArrivalTime.ToShortTimeString() %></span>
        </div>
        <%
        }
        %>
    </fieldset>
</div>

